home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / misc / dyl / f3d.doc < prev    next >
Text File  |  1994-08-28  |  1KB  |  36 lines

  1.          Dyl 0x0001a
  2.  
  3. This is my attempt at a combination 3D Dynamics/Graphics Lib.
  4. It's currently in C++ because C++ is friendlier than C.
  5. I had planned on writing it in C, because I have heard that
  6. C++ is often slower than C unless you are very careful.  Finally,
  7. after doing a ton of  /* comment */  I finally broke down and
  8. decided that I would use C++ so that I could do // comment
  9.  
  10.  
  11. Body:  A group of ridigly attached objects, a linked list;
  12. Hbd is the head of the list.  Each body has field "next".
  13. Each body has field Ho.
  14.  
  15. Object:  A basic sphere. The top of a class of other more complex
  16. spheres.  Each object has next, each body has Ho which is the
  17. first object.
  18.  
  19. Object Hierchy:
  20.  
  21.              object
  22.             /     \
  23.            /       \
  24.         objectD          objectF
  25.     object with a        and object with a frame
  26.     direction vect.              \
  27.     /    |        \               Eye
  28.        /     |         \
  29.      Gun    Thruster   CPU
  30.  
  31.  
  32. Plane:  A rectangular object with normal.
  33.      currently the legal normals are (1,0,0) (0,1,0) (0,0,1).
  34.  
  35. flexf:  A flexible floor.  made up of 16 points connected by
  36. 9 quads and 4 "nails" (one at each corner).